package com.qinbaokeji.checkpoint.dahuacamera.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@MapperScan({"com.qinbaokeji.checkpoint.dahuacamera.mapper"})
@Configuration
public class MybatisPlusConfig {

    /**
     *
     * @return
     */
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
